-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MPDX-7893 - Allowing users to add offline organizations to their accounts #936
Conversation
Bundle sizes [mpdx-react]Compared against 427565b No significant changes found |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. thanks for fixing this and adding the test
Preview branch generated at https://fix-add-organization-modal.d3dytjb8adxkk5.amplifyapp.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing all these bugs! I left an optional suggestion that I must have missed in previous code review.
@@ -153,7 +153,7 @@ export const OrganizationAddAccountModal: React.FC< | |||
name: yup.string().required(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to move this schema outside of the component? I don't think it uses anything from the component closure. Having it inside the component means it will be unnecessarily recreated on every render.
…sn't recreated on every render.
Description
Fixing error introduced in #891
Currently, on Connect Services, users aren't able to add offline organizations due to the
disableNewUsers
returning asNULL
from GraphQL.The issue was caused by a FormIk client error. I've enabled
disableNewUsers
to be nullable and added a test to ensureNULL
is treated the same way asTRUE
.Checklist: